﻿using RxxAdmin.Model.RootTkey;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RxxAdmin.Model.Entity;
/// <summary>
/// 角色表
/// </summary>
[SugarTable("SysRole", "角色表")]
public class SysRole : SysRootEntityTkey<int>
{
    /// <summary>
    ///角色名称
    /// </summary>
    [SugarColumn(ColumnName = "Name")]
    public string? Name { get; set; }
    /// <summary>
    ///角色标识
    /// </summary>
    [SugarColumn(ColumnName = "Code")]
    public string? Code { get; set; }
    /// <summary>
    ///描述
    /// </summary>
    [SugarColumn(ColumnName = "Desc")]
    public string? Desc { get; set; }

    /// <summary>
    ///是否启用
    ///默认值:1
    /// </summary> 
    public int Status { get; set; }
}
